<template>
    <div class="box">
        <div class="header"></div>
        <slot>
            插槽内容部分
        </slot>
    </div>
</template>

<script>
export default {

}
</script>

<style lang="scss">
    .box{
        display: flex;
        flex-direction:column;
        width: 355px;
        height: 380px;
        border: 1px solid #000;
        border-radius: 15px;
        .header{
            width: 100%;
            height: 50px;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
            background-color:blue;
            color: white;
        }   
    }
</style>